#include <stdio.h>
#include <nxos.h>

int rename(const char *old, const char *new)
{
    return NX_FileRename(old, new) == NX_EOK ? 0 : -1;
}
